# -*- coding: utf-8 -*-
from datetime import timedelta

from airflow.providers.apache.hdfs.sensors.web_hdfs import WebHdfsSensor

jms_dim__dim_lmdm_sys_network = WebHdfsSensor(
    pool='unlimited_pool',
    task_id="jms_dim__dim_lmdm_sys_network",
    filepath='/dw/hive/jms_dim.db/external/dim_lmdm_sys_network/',
    #execution_timeout=timedelta(hours=1)
    #excel平均时长:0
    execution_timeout = timedelta(minutes=30),
    email=['rongguangfan@jtexpress.com','yl_bigdata@yl-scm.com'],
    retries=2,
)
